package com.dxy.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("T_ORDER")
public class Order implements Serializable {

    private static final long serialVersionUID = 7880760753252713449L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String oid;
    private String orderName;
    private String productId;
    private String productName;
    private String userId;
    private String userName;
    private Integer total;
    private BigDecimal amount;
    private Date createTime;
}
